#pragma once

#include <vector>
#include "scene.h"

const int MAX_SCENE = 2;

enum
{
	STATE_PLAY,
	STATE_CHANGE
};

class Map_C
{
public:
	Map_C(){}
	~Map_C(){}

	void Init();
	int  Update(float dt,Role_C &role);
	void Draw();
	void Exit();
	bool Sucess();

private:
	Scene_C*  GetNextScene(int cur_id);

	Scene_C m_Scene[MAX_SCENE];
	Scene_C	*m_CurScene;
	Scene_C *m_OldScene;

	int		m_State;
	float	m_SceneX,m_SceneY;
	bool	m_bSucess;
};